package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-19
 */
@TableName("job_people_sign")
public class PeopleSign extends Model<PeopleSign> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 工作信息表id
     */
	@TableField("work_id")
	private Integer workId;
    /**
     * 用户id
     */
	@TableField("user_id")
	private Integer userId;
    /**
     * 签到时间
     */
	@TableField("sign_time")
	private Date signTime;
    /**
     * 签到地址
     */
	private String address;
    /**
     * 签到坐标x
     */
	@TableField("line_x")
	private String lineX;
    /**
     * 签到坐标y
     */
	@TableField("line_y")
	private String lineY;
    /**
     * 签到状态 【未签到：0】，【已签到：1】
     */
	private String status;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getWorkId() {
		return workId;
	}

	public void setWorkId(Integer workId) {
		this.workId = workId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Date getSignTime() {
		return signTime;
	}

	public void setSignTime(Date signTime) {
		this.signTime = signTime;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLineX() {
		return lineX;
	}

	public void setLineX(String lineX) {
		this.lineX = lineX;
	}

	public String getLineY() {
		return lineY;
	}

	public void setLineY(String lineY) {
		this.lineY = lineY;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
